package kr.salebeans.cm.common;

import java.io.Serializable;

public class PagingCond implements Serializable {

    /** */
    private static final long serialVersionUID = 7082896652229412253L;

    private int firstIndex;

    private int maxIndex;

    private boolean pagingYn = true;

    public PagingCond() {

    }

    public PagingCond(int firstIndex, int maxIndex) {
        this.firstIndex = firstIndex;
        this.maxIndex = maxIndex;
    }

    public PagingCond(int firstIndex, int maxIndex, boolean pagingYn) {
        this(firstIndex, maxIndex);
        this.pagingYn = pagingYn;
    }

    public int getFirstIndex() {
        return firstIndex;
    }

    public void setFirstIndex(int firstIndex) {
        this.firstIndex = firstIndex;
    }

    public int getMaxIndex() {
        return maxIndex;
    }

    public void setMaxIndex(int maxIndex) {
        this.maxIndex = maxIndex;
    }

    public boolean isPagingYn() {
        return pagingYn;
    }

    public void setPagingYn(boolean pagingYn) {
        this.pagingYn = pagingYn;
    }

}
